Skip to content

Support DISTINCT/ALL for aggregate functions#53

Closed
kendru wants to merge 1 commit intoakito0107:masterfrom
kendru:master
Closed

Support DISTINCT/ALL for aggregate functions#53
kendru wants to merge 1 commit intoakito0107:masterfrom
kendru:master

Conversation

@kendru
Copy link
Copy Markdown

@kendru kendru commented Jun 10, 2022

Fixes #52

  • Adds a Filter field to sqlast.Function that is an optional pointer to
    an "ALL" or "DISTINCT" identifier.
  • Attempts to parse DISTINCT/ALL before the argument list of a function
  • Adds a test to validate correct parsing.

- Adds a Filter field to sqlast.Function that is an optional pointer to
  an "ALL" or "DISTINCT" identifier.
- Attempts to parse DISTINCT/ALL before the argument list of a function
- Adds a test to validate correct parsing.
@kendru kendru closed this Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot parse COUNT(DISTINCT ...)

1 participant